package com.cq.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 日报异常对象 teacher_daily_abnormal
 * 
 * @author cq
 * @date 2024-01-06
 */
public class TeacherDailyAbnormal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 老师id */
    @Excel(name = "老师id")
    private Long managementId;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurrenceTime;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setManagementId(Long managementId) 
    {
        this.managementId = managementId;
    }

    public Long getManagementId() 
    {
        return managementId;
    }
    public void setOccurrenceTime(Date occurrenceTime) 
    {
        this.occurrenceTime = occurrenceTime;
    }

    public Date getOccurrenceTime() 
    {
        return occurrenceTime;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("managementId", getManagementId())
            .append("occurrenceTime", getOccurrenceTime())
            .append("notes", getNotes())
            .toString();
    }
}
